package m2;

import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.common.message.Message;
import org.apache.rocketmq.remoting.exception.RemotingException;

import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Scanner;

/**
 * 生产者
 * @author 郭鲁政
 */
public class Producer {
    public static void main(String[] args) throws MQClientException, MQBrokerException, RemotingException, InterruptedException {
new ArrayList<>(20);

      /*  DefaultMQProducer producer = new DefaultMQProducer("prod-group2");
        producer.setNamesrvAddr("192.168.64.141:9876");
        producer.start();*/
    }


}
